<?php
class Modulemanager_Data_Updatemodulesettings implements Modulemanager_Data_Mainable{
    
    private $core_controller_dataoperation;

    public function __construct(){
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null){
        $variables['query'] = "UPDATE module_settings SET module_settings.module_name='".$variables['post']['module_name']."', module_settings.status_name='".$variables['post']['status_name']."', module_settings.access_level='".$variables['post']['access_level']."' WHERE module_settings.module_name='".$variables['post']['old_module_name']."';";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }
}
